﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SQLToolbox.Types;

namespace SQLToolbox.Controller
{
	public interface ISQLToolboxController
	{
		void StartSchemaComparator();
	}
	public interface ISchemaComparatorController
	{
		void Start(SQLToolbox.View.Types.ISQLToolboxMainWindow main);
		void RedoComparison(DBConnectionProperties left, DBConnectionProperties right, Action<SchemaComaprison> callback);
		void RedoObjectComparison(DBConnectionProperties left, DBConnectionProperties right, string name,SchemaObjectType type, Action<SchemaObjectComparison> callback);
        void MatchSchemas(SchemaComaprison collection, UpdateDirection direction, Action<SchemaComaprison> callback);
        void MatchObjects(SchemaComaprison collection, SchemaObjectComparison cr, UpdateDirection direction, Action<SchemaObjectComparison> callback);
	}
}
